
import 'package:flutter_base_kit/utils/encrypt_utils.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {

  testWidgets('测试AES加密', (WidgetTester tester) async {
    String aesKey = "qTvytnMnSNiD5TH29Z2H3m8L5ryhWHWT";
    String encodeStr = EncryptUtils.encodeAes(aesKey, "早起的年轻人");

    print("加密结果 $encodeStr");

    String decodeStr = EncryptUtils.decodeAes(aesKey, encodeStr);
    print("解密结果 $decodeStr");
  });
}
